﻿@{
    ViewBag.Title = "_ProductVariantAttribute_List";
}

<h2>_ProductVariantAttribute_List</h2>

<table class="yt">
    <tr>
        <th>Attribute</th>
        <th>AttributeControlType</th>
        <th>Values</th>
        <th></th>
    </tr>
<!-- ko foreach: ProductVariantAttributes -->
<tr>
    <td>
        <span data-bind="text:ProductAttributeName"></span>
    </td>
    <td>
        <span data-bind="text:AttributeControlTypeName"></span>
    </td>
    <td>
          <a data-bind="attr:{href: '/ProductVariantAttribute/EditAttributeValues?productVariantAttributeId=' + Id()}">Values Edit</a>
    </td>
    <td>
          <a data-bind="attr:{href: '/ProductVariantAttribute/Edit?id=' + Id()}">Edit</a>
    </td>
</tr>

<!-- /ko -->
</table>

<a  data-bind="attr:{href: '/ProductVariantAttribute/Create?productVariantId=' + $root.Id()}">Create Product Variant Attribute</a>